// 导入数据库配置
import { dev as devDB, prod as prodDB } from './dbConfig'
import { dev as devServer, prod as prodServer } from './sshConfig'

/**
 * 配置对象
 * @typedef {Object} Config
 * @property {Object} dev 开发环境配置
 * @property {Object} prod 生产环境配置
 */
const config = {
  dev: {
    database: devDB,
    server: devServer
  },
  prod: {
    database: prodDB,
    server: prodServer
  }
}

export default config['dev']
